package exo2;

import java.util.Date;
/**
 * Created with IntelliJ IDEA.
 * User: naberrad
 * Date: 14/10/13
 * Time: 17:03
 * To change this template use File | Settings | File Templates.
 */
public abstract class EnseignantTemporaire extends Enseignant {

    private Date finContrat;

    public Date getFinContrat() {
        return finContrat;
    }

    public void setFinContrat(Date finContrat) {
        this.finContrat = finContrat;
    }

    @Override
    public String toString() {
        return super.toString() + " Date fin de contrat ; " + this.finContrat ;
    }
}
